home *** CD-ROM | disk | FTP | other *** search
- Kill or Select
-
- The main "Kill or Select" panel lists the kill file, this is a set of
- rules for automatically selecting or killing articles. The Delete
- button removes a selected iteem and Add allows the creation of a new item.
-
- Selecting a line brings up a second panel which decodes the item and allows
- the fields to be edited. The important fields are the top button which
- determines if it is kill or select and the Group entry which can limit
- the item to a particular group or set of groups. At the bottom is a
- rule that determine if the article is matched, the entry is the
- string used in the rule and the button to the right of it is type of
- test. The and... and or... buttons add extra tests that are ANDed
- or ORed with the first one.
-
- THE FORMAT OF THE KILL FILE
- The kill file consists of one line for each entry. Empty
- lines and lines starting with a # character are ignored.
- nn automatically places a # character in the first posi-
- tion of expired entries when it compiles the kill file.
- You can then edit the kill file manually from time to time
- to clean out these entries.
-
- Each line has the following format
- [expire time :] [group name] : flags : string [: string]...
-
- Permanent entries have no expire time (in which case the
- colon is omitted as well!). Otherwise, the expire time
- defines the time (as a time_t value) when the entry should
- be expired.
-
- The group name field can have three forms:
-
- news.group.name
- If it is the name of a single news group (e.g.
- comp.unix), the entry applies to that group only.
-
- /regular expression
- If it starts with a slash `/' followed by a regular
- expression (e.g. /^news\..*), the entry applies to
- all groups whose name are matched by the regular
- expression.
-
- empty An empty group field will apply the entry to all
- groups.
-
- The flags field consists of a list of characters which
- identifies the type of entry, and the interpretation of
- each string field. When used, the flag characters must be
- used in the order in which they are described below:
-
- ~ (optional)
- When this flag is present on any of the entries for
- a specific group, it causes all entries which are
- not auto-selected to be killed. This is a simple
- way to say: I'm interested in this and that, but
- nothing else.
-
- + or ! (optional)
- Specify an auto-select + or an auto-kill ! entry,
- respectively. If neither are used, the article is
- neither selected nor killed which is useful in com-
- bination with the `~' flag.
-
- > (optional)
- When used with a subject (flag s), the kill entry
- only matches follow-ups to that subject (i.e. where
- the Subject: line starts with Re:). For example,
- to kill all "Re:"'s in rec.humor use the following
- kill entry: rec.humor:!>s/:.
-
- < (optional)
- When used with a subject (flag s), the kill entry
- only matches base articles with that subject (i.e.
- where the Subject: line does not start with Re:).
- For example, to kill all articles asking for help
- (but not follow-ups) in the tex group, add this to
- your kill file:
- comp.text.tex:!s</:^HELP
-
- One of nsfcClLa (mandatory)
-
- Specify what the string applies to:
-
- n Matches part of the name of the sender of
- the article
-
- s Matches part of he subject of the article
-
- f Matches part of the full from line of the
- article
-
- c If the article is crossposted to less than N
- groups
-
- C If the article is crossposted to more than N
- groups
-
- l If the article is less than N lines
-
- L If the article is more than N lines
-
- a The string is ignored (but must be present),
- and the entry applies to articles with a
- non-empty References: line.
-
-
- / (optional)
- Specifies that the corresponding string is a regu-
- lar expression which the sender or subject is
- matched against. If not specified, a simple string
- match is performed using the given string.
-
- = (optional)
- Specifies that the match against the name or sub-
- ject is case sensitive. Furthermore, when regular
- expression matching is not used, the name or sub-
- ject must be of the same length of the string to
- match. Otherwise, the match will be case insensi-
- tive, and a string may occur anywhere in the name
- or subject to match.
-
- | or & (mandatory if multiple strings)
- If more than one string is specified, the set of
- flags corresponding to each string must be sepa-
- rated by either an or operator `|' or an and opera-
- tor `&'. The and operator has a higher precedence
- than the or operator, e.g. a complex match expres-
- sion a|b&c|d will succeed if either of a, b&c, or d
- matches.
-
- The string field in the entry is the name, subject or reg-
- ular expression that will be matched against the name or
- subject of each article in the group (or all groups).
- Colons and backslashes must be escaped with a backslash in
- the string.
-